package com.heg.bk.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * HegSysUser entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "heg_sys_user", catalog = "heg")
public class HegSysUser implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer bkUid;
	private String uname;
	private String pword;
	private Integer userType;
	private String ctime;
	private String updtime;
	private String telnumber;
	private String nickname;
	private String description;

	// Constructors

	/** default constructor */
	public HegSysUser() {
	}

	/** full constructor */
	public HegSysUser(String uname, String pword, Integer userType,
			String ctime, String updtime, String telnumber, String nickname,
			String description) {
		this.uname = uname;
		this.pword = pword;
		this.userType = userType;
		this.ctime = ctime;
		this.updtime = updtime;
		this.telnumber = telnumber;
		this.nickname = nickname;
		this.description = description;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "bk_uid", unique = true, nullable = false)
	public Integer getBkUid() {
		return this.bkUid;
	}

	public void setBkUid(Integer bkUid) {
		this.bkUid = bkUid;
	}

	@Column(name = "uname", length = 20)
	public String getUname() {
		return this.uname;
	}

	public void setUname(String uname) {
		this.uname = uname;
	}

	@Column(name = "pword", length = 20)
	public String getPword() {
		return this.pword;
	}

	public void setPword(String pword) {
		this.pword = pword;
	}

	@Column(name = "user_type")
	public Integer getUserType() {
		return this.userType;
	}

	public void setUserType(Integer userType) {
		this.userType = userType;
	}

	@Column(name = "ctime", length = 20)
	public String getCtime() {
		return this.ctime;
	}

	public void setCtime(String ctime) {
		this.ctime = ctime;
	}

	@Column(name = "updtime", length = 20)
	public String getUpdtime() {
		return this.updtime;
	}

	public void setUpdtime(String updtime) {
		this.updtime = updtime;
	}

	@Column(name = "telnumber", length = 20)
	public String getTelnumber() {
		return this.telnumber;
	}

	public void setTelnumber(String telnumber) {
		this.telnumber = telnumber;
	}

	@Column(name = "nickname", length = 20)
	public String getNickname() {
		return this.nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	@Column(name = "description", length = 50)
	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

}